<?php

class Transport
{
  public function __construct()
  {
    $this->model = 'TTTTTTTTTT';
  }
}

class Vehicle extends Transport
{
  public function __construct()
  {
    $this->model = 'V__FGTH';
  }
}
class Car extends Vehicle
{
  public $made = 'Ferrari';
  public $model = 'F350';

  public function __construct()
  {
    $this->model = 'FNAF';
  }
  public function car()
  {
    $this->model = 'F312';
  }

  public function __destruct()
  {
    echo "Clean UP";
    echo "\n\n";
  }

}

$obj = new Car;
echo $obj->made;

echo "\n\n";

echo $obj->model;

echo "\n\n";

